package com.tansuo365.test1.vo;

import com.github.dozermapper.core.Mapping;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVo {

    private Integer id;

    private String username;

    private String password;

    private String truename;

    private String bumenmingcheng;

    private String gangweijuese;

    private String beizhu;

    private String salt;

    private String root; //是否总管理员,超级权限,不可删除.默认空字符串 如果为 'root' 则不可删除

    @Transient
    private String roles; //展示用户角色

}
